package Correction.Gain;

import Correction.RangingCorrectionPolynomes_t;

public class RangingCorrectionSF9BW0800 {
    private static double[] cer = {
            1.0871e-10,
            -6.7614e-08,
            1.1233e-05,
            -0.00069623,
            0.016443,
            0.72006,
            0.78863,
    };
    private static RangingCorrectionPolynomes_t polynomes_t = new RangingCorrectionPolynomes_t(7,cer);
    public static RangingCorrectionPolynomes_t getPolynomes_t()
    {
        return polynomes_t;
    }
    private static double[] array =
            {
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    39.6364,
                    -53.2896,
                    -35.4979,
                    -17.7061,
                    0.085636,
                    26.9106,
                    18.8654,
                    10.8202,
                    2.775,
                    -5.2702,
                    -1.6081,
                    0.5434,
                    5.9908,
                    3.0153,
                    2.6491,
                    2.4202,
                    4.3657,
                    4.1368,
                    4.2971,
                    2.8322,
                    3.8393,
                    3.7935,
                    3.4273,
                    3.3358,
                    3.2442,
                    2.9238,
                    3.1069,
                    3.0611,
                    2.8322,
                    2.7864,
                    2.878,
                    2.6949,
                    2.7864,
                    2.8322,
                    2.8322,
                    2.6033,
                    2.7407,
                    2.6949,
                    2.6491,
                    2.3287,
                    2.5576,
                    2.6949,
                    2.5576,
                    2.5576,
                    3.3358,
                    4.1597,
                    3.9309,
                    3.9309,
                    4.0224,
                    4.2513,
                    4.2513,
                    4.2513,
                    4.5259,
                    4.4344,
                    4.6633,
                    4.7548,
                    4.4344,
                    4.6633,
                    4.9379,
                    4.7548,
                    4.6175,
                    5.121,
                    5.1668,
                    5.0753,
                    6.8605,
                    7.0436,
                    7.0436,
                    7.7761,
                    7.6845,
                    7.6845,
                    7.9134,
                    7.7761,
                    7.8218,
                    7.9592,
                    7.7761,
                    7.8218,
                    7.9592,
                    8.0507,
                    8.0049,
                    7.8218,
                    8.0965,
                    8.1881,
                    8.1881,
                    8.3712,
                    8.8747,
                    8.9205,
                    8.8289,
                    8.9205,
                    9.012,
                    9.1494,
                    9.3325,
                    9.2867,
                    9.5156,
                    9.3782,
                    9.2409,
                    9.2867,
                    9.424,
                    9.6987,
                    9.8818,
                    9.7444,
                    9.8818,
                    10.0191,
                    9.9276,
                    9.9733,
                    10.0649,
                    10.0649,
                    10.0649,
                    9.9276,
                    10.0649,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,
                    10.1564,

            };
    public static double run(int gain)
    {
        return array[gain];
    }
}
